package com.jiangxiaofei.citycloud.bean;

import java.util.List;

/**
 * @author: JiangXFei
 * @date: 2017/11/21 0021
 * @content:
 */

public class FreshFruitHomeBean {

    /**
     * id : 1
     * img : http://192.168.0.222/upload/client/frucat/shucaizhuanqu.png
     * name : 蔬菜专区
     * news : [{"addtime":"1511145537","author":"18","cat":"5","descrption":"一个书架","id":"286","img":"http://192.168.0.222/image/20171120/1617055501511140446827333.png,http://192.168.0.222/image/20171120/7363479771511140446781547.png,","issue":"11-20 ","keywords":"","lat":"36.105859","lng":"120.379908","price":"12","title":"书架","updatime":"","visitors":"6"},{"addtime":"1511145537","author":"18","cat":"5","descrption":"20元一个","id":"285","img":"http://192.168.0.222/image/20171117/1256150331510886571747978.png,http://192.168.0.222/image/20171117/19141358721510886571877925.png,http://192.168.0.222/image/20171117/18167987801510886572087825.png,http://192.168.0.222/image/20171117/2757573091510886571979128.png,http://192.168.0.222/image/20171117/145932001510886572168159.png,http://192.168.0.222/image/20171117/19281279501510886572263489.png,http://192.168.0.222/image/20171117/1244776961510886572331401.png,http://192.168.0.222/image/20171117/10215946391510886572387602.png,http://192.168.0.222/image/20171117/17866229851510886572455243.png,","issue":"11-20 ","keywords":"","lat":"36.105816","lng":"120.380303","price":"20","title":"表情抱枕","updatime":"","visitors":"17"},{"addtime":"1511145537","author":"18","cat":"5","descrption":"9成新机，专业质保。","id":"284","img":"http://192.168.0.222/image/20171117/962479751510883748701443.png,http://192.168.0.222/image/20171117/9434820152117569588.png,http://192.168.0.222/image/20171117/20551634221992964733.png,http://192.168.0.222/image/20171117/823108942450103164.png,http://192.168.0.222/image/20171117/180552371025798896.png,http://192.168.0.222/image/20171117/16107890651510883748847320.png,http://192.168.0.222/image/20171117/4533573471510883748987856.png,","issue":"11-20 ","keywords":"","lat":"36.105629","lng":"120.379874","price":"3000","title":"iPhone6出售","updatime":"","visitors":"15"}]
     * parentid : 0
     */

    private String id;
    private String img;
    private String name;
    private String parentid;
    private List<NewsBean> news;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public List<NewsBean> getNews() {
        return news;
    }

    public void setNews(List<NewsBean> news) {
        this.news = news;
    }

    public static class NewsBean {
        /**
         * addtime : 1511145537
         * author : 18
         * cat : 5
         * descrption : 一个书架
         * id : 286
         * img : http://192.168.0.222/image/20171120/1617055501511140446827333.png,http://192.168.0.222/image/20171120/7363479771511140446781547.png,
         * issue : 11-20
         * keywords :
         * lat : 36.105859
         * lng : 120.379908
         * price : 12
         * title : 书架
         * updatime :
         * visitors : 6
         */

        private String addtime;
        private String author;
        private String cat;
        private String descrption;
        private String id;
        private String img;
        private String issue;
        private String keywords;
        private String lat;
        private String lng;
        private String price;
        private String title;
        private String updatime;
        private String visitors;

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getCat() {
            return cat;
        }

        public void setCat(String cat) {
            this.cat = cat;
        }

        public String getDescrption() {
            return descrption;
        }

        public void setDescrption(String descrption) {
            this.descrption = descrption;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getIssue() {
            return issue;
        }

        public void setIssue(String issue) {
            this.issue = issue;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUpdatime() {
            return updatime;
        }

        public void setUpdatime(String updatime) {
            this.updatime = updatime;
        }

        public String getVisitors() {
            return visitors;
        }

        public void setVisitors(String visitors) {
            this.visitors = visitors;
        }
    }
}
